// src/api/rune.api.js
import request from '@/utils/request'

const RuneAPI = {
    //查询符文列表
    getRuneList(){
        return request({
            url:`/rune`,
            method:'get',
        })
    },
    searchRune(keyword) {
        return request({
            url: `/rune/search`,
            method: 'get',
            params: { keyword }
        })
    },
    // 获取符文详情
    getRune(id){
        return request({
            url:`/rune/${id}`,
            method:'get'
        })
    }
}

export default RuneAPI
